package vip.xiaonuo.modular.xypdf.form;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("生成pdf格式提交表单")
public class PdfLogyGenderForm implements Serializable {

    @ApiModelProperty("族谱编号")
    @NotBlank(message = "族谱编号不可为空")
    private String logyId;

    @ApiModelProperty("模板编号")
    @NotBlank(message = "模板编号不可为空")
    private String templateId;

    /**
     * 编者
     */
    @Excel(name = "编者")
    @ApiModelProperty("编者")
    @NotBlank(message = "编者不可为空")
    private String author;


    /**
     * 堂号
     */
    @Excel(name = "堂号")
    @ApiModelProperty("堂号")
    @NotBlank(message = "堂号不可为空")
    private String hallHost;


    /**
     * 卷号
     */
    @Excel(name = "卷号")
    @ApiModelProperty("卷号")
    @NotBlank(message = "卷号不可为空")
    private String rollHost;


    /**
     * 页眉谱名
     */
    @Excel(name = "页眉谱名")
    @ApiModelProperty("页眉谱名")
    @NotBlank(message = "页眉谱名不可为空")
    private String headName;

}
